package kino;

import java.util.ArrayList;
import java.util.List;
import com.modeliosoft.modelio.javadesigner.annotations.objid;

public class Adresse {
    public Filiale Filiale;

    public List<Person> Besitzer = new ArrayList<Person> ();

    private String ort;

    private String plz;

    private String str;

    private String hausnummer;

    private String zusatz;

    private int id;


    public String getOrt() {
        // Automatically generated method. Please delete this comment before entering specific code.
        return this.ort;
    }

    public void setOrt(final String value) {
        // Automatically generated method. Please delete this comment before entering specific code.
        this.ort = value;
    }

    public String getPlz() {
        // Automatically generated method. Please delete this comment before entering specific code.
        return this.plz;
    }

    public void setPlz(final String value) {
        // Automatically generated method. Please delete this comment before entering specific code.
        this.plz = value;
    }

    public String getStr() {
        // Automatically generated method. Please delete this comment before entering specific code.
        return this.str;
    }

    public void setStr(final String value) {
        // Automatically generated method. Please delete this comment before entering specific code.
        this.str = value;
    }

    public String getHausnummer() {
        // Automatically generated method. Please delete this comment before entering specific code.
        return this.hausnummer;
    }

    public void setHausnummer(final String value) {
        // Automatically generated method. Please delete this comment before entering specific code.
        this.hausnummer = value;
    }

    public String getZusatz() {
        // Automatically generated method. Please delete this comment before entering specific code.
        return this.zusatz;
    }

    public void setZusatz(final String value) {
        // Automatically generated method. Please delete this comment before entering specific code.
        this.zusatz = value;
    }

    public Adresse(final String ort, final String plz, final String str, final String hausnummer, final String zusatz) {
        super();
        this.ort = ort;
        this.plz = plz;
        this.str = str;
        this.hausnummer = hausnummer;
        this.zusatz = zusatz;
    }

    public int getId() {
        return id;
    }

    public void setId(final int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Adresse Id="+id+" Ort=" + ort + " plz=" + plz + " str=" + str
                + " hausnummer=" + hausnummer + " zusatz=" + zusatz;
    }

}
